<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script>
    let json={a: 12, b: 5};

    let str='http://it.kaikeba.com/path/user?data='+encodeURIComponent(JSON.stringify(json));

    alert(str);
    </script>
  </head>
  <body>

  </body>
</html>
